.class public Les/g30;
.super Les/u20;
.source "MusicFileStoreSystem.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/g30$a;
    }
.end annotation


# static fields
.field private static c:Les/g30;


# direct methods
.method private constructor <init>()V
    .locals 1

    const/4 v0, 0x2

    .line 1
    invoke-direct {p0, v0}, Les/u20;-><init>(I)V

    return-void
.end method

.method public static a()Les/g30;
    .locals 1

    .line 1
    sget-object v0, Les/g30;->c:Les/g30;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/g30;

    invoke-direct {v0}, Les/g30;-><init>()V

    sput-object v0, Les/g30;->c:Les/g30;

    .line 3
    :cond_0
    sget-object v0, Les/g30;->c:Les/g30;

    return-object v0
.end method

.method private a(Lcom/estrongs/fs/g;)Ljava/util/List;
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/fs/g;",
            ")",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation

    .line 18
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    .line 19
    invoke-static {}, Les/wo;->j()Les/wo;

    move-result-object v1

    invoke-virtual {v1}, Les/wo;->b()Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 20
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/to;

    .line 21
    invoke-virtual {v2}, Les/to;->b()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-eqz v3, :cond_0

    goto :goto_0

    .line 22
    :cond_0
    new-instance v3, Lcom/estrongs/android/ui/topclassify/m;

    invoke-interface {p1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4, v2}, Lcom/estrongs/android/ui/topclassify/m;-><init>(Ljava/lang/String;Les/to;)V

    .line 23
    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_1
    return-object v0
.end method


# virtual methods
.method protected a(Lcom/estrongs/fs/impl/local/d;)Lcom/estrongs/fs/g;
    .locals 1

    .line 24
    new-instance v0, Les/f30;

    invoke-direct {v0, p1}, Les/f30;-><init>(Lcom/estrongs/fs/g;)V

    return-object v0
.end method

.method public a(Lcom/estrongs/fs/g;Lcom/estrongs/fs/h;Lcom/estrongs/android/util/TypedMap;)Ljava/util/List;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/fs/g;",
            "Lcom/estrongs/fs/h;",
            "Lcom/estrongs/android/util/TypedMap;",
            ")",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    .line 4
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    if-eqz p1, :cond_0

    .line 5
    instance-of v1, p1, Lcom/estrongs/android/ui/topclassify/d;

    if-eqz v1, :cond_0

    .line 6
    move-object v0, p1

    check-cast v0, Lcom/estrongs/android/ui/topclassify/d;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/topclassify/d;->o()I

    move-result v0

    const/4 v1, 0x6

    if-ne v0, v1, :cond_3

    .line 7
    invoke-direct {p0, p1}, Les/g30;->a(Lcom/estrongs/fs/g;)Ljava/util/List;

    move-result-object p1

    return-object p1

    :cond_0
    if-eqz p1, :cond_3

    .line 8
    instance-of v1, p1, Lcom/estrongs/android/ui/topclassify/m;

    if-eqz v1, :cond_3

    .line 9
    move-object v1, p1

    check-cast v1, Lcom/estrongs/android/ui/topclassify/m;

    .line 10
    invoke-virtual {v1}, Lcom/estrongs/android/ui/topclassify/m;->n()Les/to;

    move-result-object v1

    if-eqz v1, :cond_2

    .line 11
    invoke-virtual {v1}, Les/to;->d()Ljava/util/List;

    move-result-object v1

    .line 12
    invoke-super {p0, p1, p2, p3}, Les/u20;->a(Lcom/estrongs/fs/g;Lcom/estrongs/fs/h;Lcom/estrongs/android/util/TypedMap;)Ljava/util/List;

    move-result-object p1

    if-eqz v1, :cond_2

    if-eqz p1, :cond_2

    .line 13
    new-instance p2, Les/g30$a;

    invoke-direct {p2, p0, v1}, Les/g30$a;-><init>(Les/g30;Ljava/util/List;)V

    .line 14
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_1
    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result p3

    if-eqz p3, :cond_2

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p3

    check-cast p3, Lcom/estrongs/fs/g;

    .line 15
    invoke-virtual {p2, p3}, Les/g30$a;->a(Lcom/estrongs/fs/g;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 16
    invoke-interface {v0, p3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_2
    return-object v0

    .line 17
    :cond_3
    invoke-super {p0, p1, p2, p3}, Les/u20;->a(Lcom/estrongs/fs/g;Lcom/estrongs/fs/h;Lcom/estrongs/android/util/TypedMap;)Ljava/util/List;

    move-result-object p1

    return-object p1
.end method
